package com.liuqi.aiagent.transfer.mapstruct;

import com.liuqi.aiagent.transfer.dto.WebhookToolSaveDto;
import com.liuqi.aiagent.transfer.entity.WebhookTool;
import com.liuqi.aiagent.transfer.vo.WebhookToolBriefVo;
import com.liuqi.aiagent.transfer.vo.WebhookToolVo;
import java.util.List;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author liuqi
 * @date 2025/7/15
 **/
@Mapper
public interface WebhookToolMapStruct {
    WebhookToolMapStruct INSTANCE = Mappers.getMapper(WebhookToolMapStruct.class);

    List<WebhookToolVo> toVos(List<WebhookTool> webhookTools);

    List<WebhookToolBriefVo> toBriefVos(List<WebhookTool> webhookTools);

    WebhookTool from(WebhookToolSaveDto webhookToolSaveDto);

}
